﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace HA.Data
{
    [Serializable]
    public class BitImageInfoes:ICloneable
    {
        public BitImageInfoes(string id, string desc, PointF absLeftBottomPt, PointF absRightTopPt, int width, int height)
        {
            this._id = id;
            this._desc = desc;
            this._absLeftBottomPt = absLeftBottomPt;
            this._absRightUpPt = absRightTopPt;
            this._width = width;
            this._height = height;
        }


        string _id = "";
        /// <summary>
        /// 图层id
        /// </summary>
        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }

        PointF _absLeftBottomPt;
        /// <summary>
        /// 图像左下角点坐标
        /// </summary>
        public PointF AbsLeftBottomPt
        {
            get { return _absLeftBottomPt; }
            set { _absLeftBottomPt = value; }
        }

        PointF _absRightUpPt;
        /// <summary>
        /// 图像右上角点坐标
        /// </summary>
        public PointF AbsRightUpPt
        {
            get { return _absRightUpPt; }
            set { _absRightUpPt = value; }
        }

        int _width;
        /// <summary>
        /// 图像宽度
        /// </summary>
        public int Width
        {
            get { return _width; }
            set { _width = value; }
        }

        int _height;
        /// <summary>
        /// 图像高度
        /// </summary>
        public int Height
        {
            get { return _height; }
            set { _height = value; }
        }

        string _desc = "";
        /// <summary>
        /// 图像描述名称
        /// </summary>
        public string Desc
        {
            get { return _desc; }
            set { _desc = value; }
        }



        public object Clone()
        {
            return this.MemberwiseClone();
        }
    }
}
